<?php /* Smarty version 2.6.18, created on 2017-08-30 21:49:09
         compiled from creditnew.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'strtolower', 'creditnew.html', 117, false),array('modifier', 'count', 'creditnew.html', 129, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $this->_tpl_vars['title']; ?>
</title>
<link href="../css/default/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="../css/default/master.css" rel="stylesheet" type="text/css" />
<link href="../css/default/layout.css" rel="stylesheet" type="text/css" />
<link href="../css/default/info.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/jquery-1.8.3.min.js"></script>
</head>
<body id="topbody">
<script id=myjs language="javascript">
var js=1;var sss='creditnew';
</script>
<div class="main">
<div class="top_info">
<span class="title">用户资料</span>
</div>
<div class="contents">
<table class="data_table user_info">
<thead><tr><th colspan="2">基本信息</th></tr></thead>
<tbody>
<tr><th>账号</th><td><?php echo $this->_tpl_vars['username']; ?>
(<?php echo $this->_tpl_vars['name']; ?>
)[<?php echo $this->_tpl_vars['usertype']; ?>
]</td></tr>
<?php if ($this->_tpl_vars['config']['fasttype'] == 1): ?>
<tr><th>快开彩额度</th>
<td><?php echo $this->_tpl_vars['kmaxmoney']; ?>
 (余额:<?php echo $this->_tpl_vars['kmoney']; ?>
)</td></tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['config']['slowtype'] == 1): ?>
<tr><th>低频彩额度</th>
<td><?php echo $this->_tpl_vars['maxmoney']; ?>
 (余额:<?php echo $this->_tpl_vars['money']; ?>
)</td></tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['maxrenflag'] == 1): ?>
   <tr>
   <th>最多下线数</th>
   <td><?php echo $this->_tpl_vars['maxren']; ?>
 (余:<?php echo $this->_tpl_vars['ren']; ?>
)</td></tr>
     </tr>
<?php endif; ?>

   <TR>
    <th>盘口类型</th>
    <TD><?php $_from = $this->_tpl_vars['pan']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>    
     <label><?php echo $this->_tpl_vars['i']; ?>
</label>    
     <?php endforeach; endif; unset($_from); ?></td>
     </TR>
     <tr style="display:none">
    <th>默认盘口</th>
    <TD><select class="pan">
         <?php $_from = $this->_tpl_vars['pan']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
           <option value="<?php echo $this->_tpl_vars['i']; ?>
" <?php if ($this->_tpl_vars['i'] == $this->_tpl_vars['defaultpan']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['i']; ?>
</option>
         <?php endforeach; endif; unset($_from); ?>
      </select><input style="margin-left:5px;" type="button" value="更改" class="editpan btn2 btnf" /></td>
   </tr>
   <tr><th>登录默认彩种</th>
    <TD><select class="gametype">
    <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['ugame']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <OPTION value="<?php echo $this->_tpl_vars['ugame'][$this->_sections['i']['index']]['gid']; ?>
" <?php if ($this->_tpl_vars['ugame'][$this->_sections['i']['index']]['gid'] == $this->_tpl_vars['ugid']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['ugame'][$this->_sections['i']['index']]['gname']; ?>
</OPTION>
    <?php endfor; endif; ?>
    </select><input style="margin-left:5px;" type="button" value="更改" class="editgid btn2 btnf" /></td>
    </tr>
<?php if (( $this->_tpl_vars['layer'] == 1 & $this->_tpl_vars['ifexe'] == 1 )): ?>
   <TR style="display:none">
    <Th>赔率模式</Th>
    <Td>
        
        
        <select class="pself">
            <option value="0" <?php if ($this->_tpl_vars['pself'] == 0): ?>selected<?php endif; ?>>使用上级赔率</option>
            <option value="1" <?php if ($this->_tpl_vars['pself'] == 1): ?>selected<?php endif; ?>>使用自定赔率</option>
            </select>
        <input type="button" class="btn1 btnf editpself" value="修改" />
        
    </Td>
    </TR>    <?php endif; ?>
</tbody>
</table>
<br/>
<div class="info_body">
<div class="game_class">
<ul>
<?php if ($this->_tpl_vars['config']['fasttype'] == 1): ?>
<li><span>快开彩</span>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <?php if ($this->_tpl_vars['game'][$this->_sections['i']['index']]['fast'] == 1): ?><a href="javascript:void(0)" class="g<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
"  gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
'><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</a><?php endif; ?>
 <?php endfor; endif; ?>
</li>
<?php endif; ?>
<?php if ($this->_tpl_vars['config']['slowtype'] == 1): ?>
<li><span>低频彩</span>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <?php if ($this->_tpl_vars['game'][$this->_sections['i']['index']]['fast'] == 0): ?><a href="javascript:void(0)" class="g<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
" gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
'><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</a><?php endif; ?>
 <?php endfor; endif; ?>
</li>
<?php endif; ?>
</ul>
</div>
<table class="table data_table">
<tbody><tr><th  rowspan="2">类别</th>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <th  class="<?php echo $this->_tpl_vars['i']; ?>
 p" colspan="2"><?php echo $this->_tpl_vars['i']; ?>
盘退水%</th>
    <?php endforeach; endif; unset($_from); ?> <th rowspan="2">单注最低</th><th rowspan="2">单注最高</th><th rowspan="2">单期最高</th></tr>
   <tr> 
   <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <th class="a p">A</th>
    <th class="a p">B</th>
    <?php endforeach; endif; unset($_from); ?> 
</tbody>
<tbody>
   <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?> 
   <?php $this->assign('pan', $this->_tpl_vars['game'][$this->_sections['i']['index']]['pan']); ?>
   <?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['pan']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['j']['show'] = true;
$this->_sections['j']['max'] = $this->_sections['j']['loop'];
$this->_sections['j']['step'] = 1;
$this->_sections['j']['start'] = $this->_sections['j']['step'] > 0 ? 0 : $this->_sections['j']['loop']-1;
if ($this->_sections['j']['show']) {
    $this->_sections['j']['total'] = $this->_sections['j']['loop'];
    if ($this->_sections['j']['total'] == 0)
        $this->_sections['j']['show'] = false;
} else
    $this->_sections['j']['total'] = 0;
if ($this->_sections['j']['show']):

            for ($this->_sections['j']['index'] = $this->_sections['j']['start'], $this->_sections['j']['iteration'] = 1;
                 $this->_sections['j']['iteration'] <= $this->_sections['j']['total'];
                 $this->_sections['j']['index'] += $this->_sections['j']['step'], $this->_sections['j']['iteration']++):
$this->_sections['j']['rownum'] = $this->_sections['j']['iteration'];
$this->_sections['j']['index_prev'] = $this->_sections['j']['index'] - $this->_sections['j']['step'];
$this->_sections['j']['index_next'] = $this->_sections['j']['index'] + $this->_sections['j']['step'];
$this->_sections['j']['first']      = ($this->_sections['j']['iteration'] == 1);
$this->_sections['j']['last']       = ($this->_sections['j']['iteration'] == $this->_sections['j']['total']);
?>
   <tr gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
' class="gametr g<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
">
    <th class="<?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['class']; ?>
" gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
'><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['name']; ?>
</th>

    <?php if ($this->_tpl_vars['pan'][$this->_sections['j']['index']]['abcd'] == 1): ?>
        <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k']):
?>   
           <?php $this->assign('m', strtolower($this->_tpl_vars['k'])); ?>
           <?php if ($this->_tpl_vars['pan'][$this->_sections['j']['index']]['ab'] == 1): ?>
               <?php $this->assign('tmp', "points".($this->_tpl_vars['m'])."a"); ?>
               <td class='cm'><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']][$this->_tpl_vars['tmp']]; ?>
%</td>
               <?php $this->assign('tmp', "points".($this->_tpl_vars['m'])."b"); ?>
               <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']][$this->_tpl_vars['tmp']]; ?>
%</td>
           <?php else: ?>
                <?php $this->assign('tmp', "points".($this->_tpl_vars['m'])."0"); ?>
                <td colspan="2"  class='cm'><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']][$this->_tpl_vars['tmp']]; ?>
%</td>
            <?php endif; ?> 
        <?php endforeach; endif; unset($_from); ?>
    <?php else: ?>
         <?php $this->assign('tmp', count($this->_tpl_vars['span'])); ?>
         <?php $this->assign('tmp2', $this->_tpl_vars['tmp']*2); ?>
         <td colspan="<?php echo $this->_tpl_vars['tmp2']; ?>
"  class='cm'><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['pointsa0']; ?>
%</td>
    <?php endif; ?>
    <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['minje']; ?>
</td> 
    <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['maxje']; ?>
</td>
    <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['cmaxje']; ?>
</td>
    
    
    </tr>
   <?php endfor; endif; ?>
   <?php endfor; endif; ?>

</tbody>
</table>
</div></div>
</div>
</body>
</html>